// ScheduleLog.h: interface for the CScheduleLog class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SCHEDULELOG_H__73B0B286_341E_41A2_ABFE_8F8DFA02D9AA__INCLUDED_)
#define AFX_SCHEDULELOG_H__73B0B286_341E_41A2_ABFE_8F8DFA02D9AA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "LogMacro.h"
#include "BaseLog.h"

class CScheduleLog : public CLog  
{
public:
	int SetItems(const char *szDesc);

protected:
	int MakeDir();
	int WriteHeader();
	int WriteItems();
	
private:
	string	m_FileName;
	int	m_FileLine;
	string m_strDesc;
};

extern void (*glbLogger)(UInt8 nLogType, UInt8 nLogPri, char *szLogInfo);
void OutputLogInfo(UInt8 nLogType, UInt8 nLogPri, char *szLogInfo, ...);


#endif // !defined(AFX_SCHEDULELOG_H__73B0B286_341E_41A2_ABFE_8F8DFA02D9AA__INCLUDED_)
